package com.szholly.plug.safe.entity.workday;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.szholly.plug.safe.core.WorkDayCache;

@Controller
@RequestMapping("/workDay/*")
public class WorkDayController {
	/**
	 * 清除缓存
	 */
	@RequestMapping(value = "/clearWorkDayCache")
	@ResponseBody
	public void clearWorkDayCache(HttpServletRequest request,
			HttpServletResponse response) {
		WorkDayCache.reLoad();
	}
}
